package com.it.service.impl;

import com.it.annotaion.Qualifier;
import com.it.annotaion.Service;
import com.it.dao.UserDao;
import com.it.service.UserService;

/**
 * @author zq
 * @create 2019-12-07
 */
@Service("userService")
public class UserServiceImpl implements UserService {
    @Qualifier("userDao")
    private UserDao userDao;

    @Override
    public String getName() {

        return userDao.getUserName();
    }
}
